package com.xhkj.mapper.my;

import org.apache.ibatis.annotations.Flush;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Update;

import com.xhkj.mapper.CommonMapper;
import com.xhkj.model.ChangDi;
public interface ChangDiMapper extends CommonMapper<ChangDi>{

	@Flush
	@Update("update changdi set dizhi = #{cd.dizhi} where name = #{cd.name} and lng = #{cd.lng} and lat = #{cd.lat}")
	void updateDiZhi(@Param("cd") ChangDi cd);
	
}